//
//  PopupControl.m
//  iCodeMac
//
//  Created by Andrew Barry on 10/05/09.
//  Copyright 2009 Barry Computer Services. All rights reserved.
//

#import "PopupControl.h"
#import "CanvasView.h"

@implementation PopupControl
-(NSView *) load: (NSDictionary *) defn withFrame: (NSRect) frame {
/*
	NSString *caption = [defn objectForKey:@"caption"];
	if (!caption)
		caption = @"box";
 */
	

	NSPopUpButton *vw = [[NSPopUpButton alloc] initWithFrame:frame pullsDown: NO];
//	[vw addItemWithTitle:@""];

//	CanvasView *vw = [[CanvasView alloc] initWithFrame:frame];
	 
	return vw;
}

@end
